package com.example.dzbsh.service;

import com.example.dzbsh.dao.DictJingyingzhuangtaiMapper;
import com.example.dzbsh.model.DictJingyingzhuangtai;
import com.example.dzbsh.model.DictJingyingzhuangtaiExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DictJingyingzhuangtaiService {

    @Resource
    DictJingyingzhuangtaiMapper ddMapper;

    public List<DictJingyingzhuangtai> findAll(){
        DictJingyingzhuangtaiExample mmExample = new DictJingyingzhuangtaiExample();
        mmExample.setOrderByClause("ordernum");
        return ddMapper.selectByExample(mmExample);
    }

}
